using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN ChiTietChuongTrinhService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: ChiTietChuongTrinhService</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class ChiTietChuongTrinhService : IChiTietChuongTrinhService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: ChiTietChuongTrinh_ID</para>
		/// <para>Output: ChiTietChuongTrinhEntity</para>
		///</summary>
		public ChiTietChuongTrinhEntity SelectOne(int ChiTietChuongTrinh_ID){
			ChiTietChuongTrinhDAO dao = new ChiTietChuongTrinhDAO();
			return dao.SelectOne(ChiTietChuongTrinh_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of ChiTietChuongTrinhEntity</para>
		///</summary>
		public List<ChiTietChuongTrinhEntity> SelectAll(){
			ChiTietChuongTrinhDAO dao = new ChiTietChuongTrinhDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			ChiTietChuongTrinhDAO dao = new ChiTietChuongTrinhDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of ChiTietChuongTrinhEntity</para>
		///</summary>
		public List<ChiTietChuongTrinhEntity> SelectAllFilter(string strFilter){
			ChiTietChuongTrinhDAO dao = new ChiTietChuongTrinhDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			ChiTietChuongTrinhDAO dao = new ChiTietChuongTrinhDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: ChiTietChuongTrinhEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(ChiTietChuongTrinhEntity o){
			ChiTietChuongTrinhDAO dao = new ChiTietChuongTrinhDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: ChiTietChuongTrinhEntity</para>
		/// <para>Output: ChiTietChuongTrinhEntity</para>
		///</summary>
		public ChiTietChuongTrinhEntity SaveRet(ChiTietChuongTrinhEntity o){
			ChiTietChuongTrinhDAO dao = new ChiTietChuongTrinhDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of ChiTietChuongTrinhEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<ChiTietChuongTrinhEntity> list){
			ChiTietChuongTrinhDAO dao = new ChiTietChuongTrinhDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of ChiTietChuongTrinhEntity</para>
		/// <para>Output: List of ChiTietChuongTrinhEntity</para>
		///</summary>
		public List<ChiTietChuongTrinhEntity> SaveListRet(List<ChiTietChuongTrinhEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Update</para>
		/// <para>Input: ChiTietChuongTrinhEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(ChiTietChuongTrinhEntity o){
			ChiTietChuongTrinhDAO dao = new ChiTietChuongTrinhDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of ChiTietChuongTrinhEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<ChiTietChuongTrinhEntity> list){
			ChiTietChuongTrinhDAO dao = new ChiTietChuongTrinhDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateMonHoc_ID</para>
		/// <para>Input: NewMonHoc_ID,ChiTietChuongTrinh_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateMonHoc_ID(int NewMonHoc_ID,int ChiTietChuongTrinh_ID){
			ChiTietChuongTrinhDAO dao = new ChiTietChuongTrinhDAO();
			return dao.UpdateMonHoc_ID(NewMonHoc_ID,ChiTietChuongTrinh_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateBatBuocQuaTrongNam</para>
		/// <para>Input: NewBatBuocQuaTrongNam,ChiTietChuongTrinh_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateBatBuocQuaTrongNam(bool NewBatBuocQuaTrongNam,int ChiTietChuongTrinh_ID){
			ChiTietChuongTrinhDAO dao = new ChiTietChuongTrinhDAO();
			return dao.UpdateBatBuocQuaTrongNam(NewBatBuocQuaTrongNam,ChiTietChuongTrinh_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateBatBuocQuaTrongHocKy</para>
		/// <para>Input: NewBatBuocQuaTrongHocKy,ChiTietChuongTrinh_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateBatBuocQuaTrongHocKy(bool NewBatBuocQuaTrongHocKy,int ChiTietChuongTrinh_ID){
			ChiTietChuongTrinhDAO dao = new ChiTietChuongTrinhDAO();
			return dao.UpdateBatBuocQuaTrongHocKy(NewBatBuocQuaTrongHocKy,ChiTietChuongTrinh_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateChuongTrinhDaoTao_ID</para>
		/// <para>Input: NewChuongTrinhDaoTao_ID,ChiTietChuongTrinh_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateChuongTrinhDaoTao_ID(int NewChuongTrinhDaoTao_ID,int ChiTietChuongTrinh_ID){
			ChiTietChuongTrinhDAO dao = new ChiTietChuongTrinhDAO();
			return dao.UpdateChuongTrinhDaoTao_ID(NewChuongTrinhDaoTao_ID,ChiTietChuongTrinh_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateGiaiDoanChuongTrinh_ID</para>
		/// <para>Input: NewGiaiDoanChuongTrinh_ID,ChiTietChuongTrinh_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateGiaiDoanChuongTrinh_ID(int NewGiaiDoanChuongTrinh_ID,int ChiTietChuongTrinh_ID){
			ChiTietChuongTrinhDAO dao = new ChiTietChuongTrinhDAO();
			return dao.UpdateGiaiDoanChuongTrinh_ID(NewGiaiDoanChuongTrinh_ID,ChiTietChuongTrinh_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateNamThu</para>
		/// <para>Input: NewNamThu,ChiTietChuongTrinh_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateNamThu(Byte NewNamThu,int ChiTietChuongTrinh_ID){
			ChiTietChuongTrinhDAO dao = new ChiTietChuongTrinhDAO();
			return dao.UpdateNamThu(NewNamThu,ChiTietChuongTrinh_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateHocKy_ID</para>
		/// <para>Input: NewHocKy_ID,ChiTietChuongTrinh_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateHocKy_ID(int NewHocKy_ID,int ChiTietChuongTrinh_ID){
			ChiTietChuongTrinhDAO dao = new ChiTietChuongTrinhDAO();
			return dao.UpdateHocKy_ID(NewHocKy_ID,ChiTietChuongTrinh_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Delete</para>
		/// <para>Input: ChiTietChuongTrinhEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(ChiTietChuongTrinhEntity o){
			ChiTietChuongTrinhDAO dao = new ChiTietChuongTrinhDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: ChiTietChuongTrinh_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int ChiTietChuongTrinh_ID){
			ChiTietChuongTrinhDAO dao = new ChiTietChuongTrinhDAO();
			return dao.DeleteByID(ChiTietChuongTrinh_ID);
		}
		#endregion

		#region Select join to ChuongTrinhDaoTaoHocKyMonHoc functions
		#endregion

		#region Select join to ChuongTrinhDaoTao functions
		#endregion

		#region Select join to HocKy functions
		#endregion

		#region Select join to MonHoc functions
		#endregion

		#region Select,delete by ChiTietChuongTrinh_ID functions
		#endregion

		#region Select,delete by MonHoc_ID functions
		#endregion

		#region Select,delete by ChuongTrinhDaoTao_ID functions
		#endregion

		#region Select,delete by HocKy_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END ChiTietChuongTrinhWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

